package cn.yunhe.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;



@Controller//控制器Controller 负责处理由DispatcherServlet 分发的请求
public class JumpPageController {
	@RequestMapping("/jump")
	public String SpringController(String target) {
		String view = "";
		System.out.println("ooooooo");
		if(target.equals("TypeInsert")){
			System.out.println("mmmmm");
			view += "TypeInsert"; 	
		}
		if(target.equals("TypeUpdate")){
			System.out.println("mmmmm");
			view += "TypeUpdate"; 	
		}
		if(target.equals("TypeUpdateDeleate")){
			System.out.println("mmmmm");
			view += "TypeUpdateDeleate"; 	
		}
		if(target.equals("SuppInsert")){
			System.out.println("mmmmm");
			view += "SuppInsert"; 	
		}
		if(target.equals("SuppUpdate")){
			System.out.println("mmmmm");
			view += "SuppUpdate"; 	
		}
		if(target.equals("SuppUpdatePstate")){
			System.out.println("mmmmm");
			view += "SuppUpdatePstate"; 	
		}
		return view;
	}
}
